package com.smartleanx.module.hrm.service.memorandum;

import java.time.LocalDate;
import java.util.*;
import javax.validation.*;
import com.smartleanx.module.hrm.controller.admin.memorandum.vo.*;
import com.smartleanx.module.hrm.dal.dataobject.memorandum.MemorandumDO;
import com.smartleanx.framework.common.pojo.PageResult;
import com.smartleanx.framework.common.pojo.PageParam;

/**
 * 备忘录 Service 接口
 *
 * @author 精益大师
 */
public interface MemorandumService {

    /**
     * 创建备忘录
     *
     * @param createReqVOs 创建信息
     * @return 编号
     */
    Long createMemorandum(@Valid MemorandumSaveReqVO createReqVOs);

    /**
     * 删除备忘录
     *
     * @param id 编号
     */
    void deleteMemorandum(Long id);

    /**
     * 获取当前月和前后两个月备忘录列表
     * @param date
     * @return
     */
    List<MemorandumListRespVO> getMemorandumList(String date);

}
